/**
 * Copyright 2015-2016, RenGu Technology (BeiJing) Co., Ltd.
 * All right reserved.
 * <p>
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF RENGU TECHNOLOGY (BeiJing) CO., LTD.
 * <p>
 * THE CONTENTS OF THIS FILE MAY NOT BE DISCLOSED TO THIR PARTIES,
 * COPIED OR DUPLICATED IN ANY FORM, IN WHOLE OR IN PART,
 * WITHOUT THE PRIOR WRITTEN PERMISSION OF RENGU TECHNOLOGY (BeiJing) CO., LTD.
 * <p>
 * OpmsParam.java
 * <p>
 * Edit History:
 * 2016年9月5日 - Created by pengpeng
 */
package cc.rengu.igas.mcps.common.constant;


/***
 * 应用公共常量类
 * Created by 王成 on 2018/5/31.
 */
public class McpsParamConstant {
    public static final String MCPS_SYS_ID = "MCPS";
    /* 业务渠道-智能POS */
    public static final String REQ_NPOS_ID = "NPOS";
    /* 业务渠道-大型智能终端 */
    public static final String REQ_ILLT_ID = "ILLT";
    /* 业务渠道-扫码支付H5页面 */
    public static final String REQ_H5_ID = "H5";

    /**
     * 默认参数类型
     */
    public static final String OPMS_SYS_PARAM = "OPMS_SYS_PARAM";
    /**
     * 法人行银联机构号
     */
    public static final String CORPORATION_ORG_CODE = "CORPORATION_ORG_CODE";
    /*实时入账默认最小金额*/
    public static final String DEFAULT_REAL_TIME_PAY_MIN_AMT = "1";

    public static final String yyyyMMddHHmmss = "yyyyMMddHHmmss";
    public static final String NORMAL_TXNKEY_PREFIX = "NORMAL";
    public static final String NORMAL_BIZ_TYPE_PREFIX = "QR_CODE_CHANNEL";
    /**
     * DUBBO 调用成功
     */
    public static final String DUBBO_SUCCESS = "00000000";
    /**
     * DUBBO 调用超时
     */
    public static final String DUBBO_OVERTIME = "ES000098";
    /*通讯层超时*/
    public static final String COMMUNICATION_OVERTIME = "98";
    //本行借贷记参数配置
    public static final String NORMAL_CARDTYPE_WCHAT = "WCHAT_CARDTYPE";
    public static final String NORMAL_CARDTYPE_ALIPAY = "ALIPAY_CARDTYPE";
    public static final String NORMAL_CARDTYPE_UPQC = "UPQC_CARDTYPE";
    public static final String NORMAL_ACQCODE = "CUPS_ACQCODE";
    public static final String DEBIT = "DEBIT";
    public static final String CREDIT = "CREDIT";
    /*默认交易币种*/
    public static final String INNER_DEFAULT_ORDERCCY = "156";
    /*订单有效时间配置*/
    public static final String ORDER_EXPIRY_TIME = "orderExpiryTime";
    public static final String ORDER_LIFE = "orderLife";

    /* DUBBO 微信接口 */
    public static final String DUBBO_WECHAT_PAY_SERVICE = "wechatPayService";
    /* DUBBO 支付宝接口 */
    public static final String DUBBO_ALIPAY_SERVICE = "alipayService";

    /* 会话时长-系统参数表参数key */
    public static final String SESSION_EXPIRY_TIMES = "SESSION_EXPIRY_TIMES";
    /* 默认会话时长 */
    public static final int SESSION_DEFAULT_TIMES = 300;
    /* 积分兑换比例 参数类型 */
    public static final String SCORE_RATE = "SCORE_RATE";
    /* 积分兑换比例-贷记卡 */
    public static final String SCORE_RATE_CR = "CR";
    /* 积分兑换比例-借记卡 */
    public static final String SCORE_RATE_DR = "DR";
    /* 机构默认单笔限额 */
    public static final String SINGLE_LIMIT_AMT = "SINGLE_LIMIT_AMT";
    /* 机构默认单日限额 */
    public static final String DAY_LIMIT_AMT = "DAY_LIMIT_AMT";
    /* 小额免密限额 */
    public static final String NO_PASSWORD_LIMIT_AMT = "NO_PASSWORD_LIMIT_AMT";
    /* 认证限额 */
    public static final String AUTH_LIMIT_AMT = "AUTH_LIMIT_AMT";
    /* 系统通道参数 */
    public static final String SYS_PARAM_CHANNEL = "SYS_PARAM_CHANNEL";
    /* 微信支付类通道 */
    public static final String WECHAT_PAY_CHANNEL_ID = "WECHAT_PAY_CHANNEL_ID";
    /* 支付宝支付类通道 */
    public static final String ALIPAY_CHANNEL_ID = "ALIPAY_CHANNEL_ID";
    /* 图片存储参数类型 */
    public static final String IMAGE_STORAGE_PARAM_TYPE = "IMAGE_STORAGE_PARAM";
    /* 服务器本地图片存储路径 */
    public static final String LOCAL_IMAGE_STORAGE_PATH = "localStorageRootPath";

    /*二维码状态正常*/
    public static final String QR_STATUS_NORMAL = "00";
    public static final String VERIFY_CERT_TYPE = "CD00";  /**/
    public static final String SIGN_CERT_TYPE = "CE10";
    /* 商户服务参数类型 */
    public static final String OPMS_PARAM_TYPE = "OPMS_SYS_PARAM";
    /* 静态码允许的最大交易金额 */
    public static final String STATIC_MAX_AMOUNT = "STATIC_MAX_AMOUNT";
    /* 静态码默认允许的最大交易金额 */
    public static final String STATIC_DEFAULT_MAX_AMOUNT = "500.00";
    /*扫码页面商户显示简称快关key*/
    public static final String MCHNT_SIMPLE_NAME_KEY = "MCHNT_SIMPLE_NAME_KEY";
    /* 算法 */
    public static final String ALG_TYPE = "algorithmType";
    public static final String ENC_TYPE = "encType";

    /* 默认总行机构号 */
    public static final String DEFAULT_TOP_INST_ID = "777777";
    /* 支付有效时间 -5分钟*/
    public static final int DEFAULT_PAYMENT_VALID_TIME = 300;
    /* &key= */
    public static final String KEY_EQUALS = "&key=";
    /* HEALCHTK */
    public static final String HEALCHTK = "HEALCHTK";

    /* 机构公钥证书 */
    public static String PUBLIC_SIGN_CERT_TYPE = "CD00";
    /* 机构私钥证书 */
    public static String PRIVATE_DECRYPT_CERT_TYPE = "CE10";
    /* 密钥类型-主密钥 */
    public static String TMK_KEY_TYPE = "KA00";
    /* 密钥类型-PIN密钥 */
    public static String PIN_KEY_TYPE = "KA02";
    /* 密钥类型-MAC密钥 */
    public static String MAC_KEY_TYPE = "KA03";

    /* 静态码牌-终端类型 11-条码支付辅助受理终端 */
    public static String STATIC_QR_CODE_TYPE = "11";
}
